<?php /* Smarty version 2.6.16, created on 2009-04-16 03:15:46
         compiled from admin/language/phrases.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'messages', 'admin/language/phrases.html', 1, false),array('function', 'url', 'admin/language/phrases.html', 3, false),array('function', 'language', 'admin/language/phrases.html', 8, false),array('modifier', 'escape', 'admin/language/phrases.html', 17, false),array('modifier', 'replace', 'admin/language/phrases.html', 43, false),)), $this); ?>
<?php echo smarty_function_messages(array(), $this);?>

<?php if (! $this->_tpl_vars['aPost']['content']): ?>
<form method="post" action="<?php echo smarty_function_url(array('link' => 'admin.language.phrases'), $this);?>
">
<table style="width:100%;" class="forumline" cellspacing="0" cellpadding="0">
<tr>
    <td class="row-header" colspan="2">
    <span>
	<?php echo smarty_function_language(array('text' => 'language_search'), $this);?>

    </span>
    </td>
</tr>
<tr>
	<td class="row1" style="text-align:right;">
		<?php echo smarty_function_language(array('text' => 'search_for_text'), $this);?>
:
	</td>
	<td class="row1">
		<input type="text" name="q" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['aPost']['q'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
" size="40" />
	</td>
</tr>
<tr>
	<td class="row1" style="text-align:right;">
		<?php echo smarty_function_language(array('text' => 'search_in_language'), $this);?>
:
	</td>
	<td class="row1">
		<select name="id">
		<option value=""><?php echo smarty_function_language(array('text' => 'all_languages'), $this);?>
</option>
		<optgroup label="<?php echo smarty_function_language(array('text' => 'translation'), $this);?>
">
		<?php $_from = $this->_tpl_vars['aLanguages']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['aLanguage']):
?>
			<option value="<?php echo $this->_tpl_vars['aLanguage']['id']; ?>
"<?php if ($this->_tpl_vars['aPost']['id'] == $this->_tpl_vars['aLanguage']['id']): ?> selected="selected="<?php endif; ?>><?php echo $this->_tpl_vars['aLanguage']['title']; ?>
</option>
		<?php endforeach; endif; unset($_from); ?>
		</optgroup>
		</select>
	</td>
</tr>
<tr>
	<td class="row1" style="text-align:right; vertical-align:top;">
		<?php echo smarty_function_language(array('text' => 'search_in_module'), $this);?>
:
	</td>
	<td class="row1">
		<select name="module">
		<option value=""><?php echo smarty_function_language(array('text' => 'select'), $this);?>
</option>
		<?php $_from = $this->_tpl_vars['aModules']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['aModule']):
?>
		<option value="<?php echo ((is_array($_tmp=$this->_tpl_vars['aModule'])) ? $this->_run_mod_handler('replace', true, $_tmp, '_', '-') : smarty_modifier_replace($_tmp, '_', '-')); ?>
"<?php if (((is_array($_tmp=$this->_tpl_vars['aPost']['module'])) ? $this->_run_mod_handler('replace', true, $_tmp, '-', '_') : smarty_modifier_replace($_tmp, '-', '_')) == $this->_tpl_vars['aModule']): ?> selected="selected="<?php endif; ?>><?php echo $this->_tpl_vars['aModule']; ?>
</option>
		<?php endforeach; endif; unset($_from); ?>
		</select>
	</td>
</tr>
<tr>
	<td class="row1" style="text-align:right; vertical-align:top;">
		<?php echo smarty_function_language(array('text' => 'search_in'), $this);?>
:
	</td>
	<td class="row1">
		<label><input type="radio" name="type" value="text"<?php if ($this->_tpl_vars['aPost']['type'] == 'text'): ?> checked="checked"<?php endif; ?>/> <?php echo smarty_function_language(array('text' => 'phrase_text_only'), $this);?>
</label> <br />
		<label><input type="radio" name="type" value="varname"<?php if ($this->_tpl_vars['aPost']['type'] == 'varname'): ?> checked="checked"<?php endif; ?>/> <?php echo smarty_function_language(array('text' => 'phrase_variable_name_only'), $this);?>
</label> <br />
		<label><input type="radio" name="type" value="both"<?php if ($this->_tpl_vars['aPost']['type'] == 'both'): ?> checked="checked"<?php endif; ?>/> <?php echo smarty_function_language(array('text' => 'both_variable_name'), $this);?>
</label> <br />
	</td>
</tr>
<tr>
	<td class="catBottom" colspan="5" style="text-align:center;">
		<input type="submit" name="search" value="<?php echo smarty_function_language(array('text' => 'search'), $this);?>
" />
		<input type="button" value="<?php echo smarty_function_language(array('text' => 'reset'), $this);?>
" onclick="window.location.href='<?php echo smarty_function_url(array('link' => 'admin.language.phrases'), $this);?>
';" />
	</td>
</tr>
</table>
</form>
<br />
<?php endif; ?>

<form method="post" action="<?php echo smarty_function_url(array('link' => 'current'), $this);?>
">
<table style="width:100%;" class="forumline" cellspacing="0" cellpadding="0">
<tr>
    <td class="row-header" colspan="5">
    <span>
    <?php echo smarty_function_language(array('text' => 'language_edit'), $this);?>

    </span>
    </td>
</tr>
<?php if (count ( $this->_tpl_vars['aItems'] ) > 0): ?>
<tr>
	<td class="row1" colspan="5">
	<table style="width:100%;" cellpadding="0" cellspacing="0">
	<tr>
		<td><?php echo smarty_function_language(array('text' => 'global_pager','count1' => $this->_tpl_vars['iFrom'],'count2' => $this->_tpl_vars['iTo'],'count3' => $this->_tpl_vars['iCnt']), $this);?>
</td>
    	<td style="text-align:right;"><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "_blocks/pager.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?></td>
    </tr>
    </table>
    </td>
</tr>
<tr>
	<th></th>
    <th><?php echo smarty_function_language(array('text' => 'language_varname'), $this);?>
</th>
    <?php if (! $this->_tpl_vars['iId']): ?>
    <th><?php echo smarty_function_language(array('text' => 'language'), $this);?>
</th>
    <?php endif; ?>
    <?php if (! $this->_tpl_vars['aPost']['content']): ?>
    <th><?php echo smarty_function_language(array('text' => 'language_original'), $this);?>
</th>
    <?php endif; ?>
    <th><?php echo smarty_function_language(array('text' => 'language_text'), $this);?>
</th>
</tr>
<?php $_from = $this->_tpl_vars['aItems']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['aItem']):
?>
<tr>
	<td class="row1" style="vertical-align:top; width:10px; text-align:center;">
		<input type="checkbox" name="deleteid[]" value="<?php echo $this->_tpl_vars['aItem']['phraseid']; ?>
" />
	</td>
	<td class="row1" style="vertical-align:top;">
		<?php echo $this->_tpl_vars['aItem']['varname']; ?>

	</td>
	<?php if (! $this->_tpl_vars['iId']): ?>
	<td class="row1" style="vertical-align:top;">
		<?php echo $this->_tpl_vars['aItem']['title']; ?>

	</td>
	<?php endif; ?>
	<?php if (! $this->_tpl_vars['aPost']['content']): ?>
	<td class="row1" style="vertical-align:top;">
		<?php echo ((is_array($_tmp=$this->_tpl_vars['aItem']['default'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>

	</td>
	<?php endif; ?>
	<td class="row1" style="vertical-align:top; text-align:center;">
		<textarea cols="60" rows="6" name="text[<?php echo $this->_tpl_vars['aItem']['phraseid']; ?>
]"><?php echo ((is_array($_tmp=$this->_tpl_vars['aItem']['text'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
</textarea>
	</td>
</tr>
<?php endforeach; endif; unset($_from); ?>
<tr>
	<td class="catBottom" colspan="5" style="text-align:center;">
		&nbsp;&nbsp;<input type="submit" name="save" value="<?php echo smarty_function_language(array('text' => 'save'), $this);?>
" />
		&nbsp;&nbsp;<input type="button" value="<?php echo smarty_function_language(array('text' => 'Mod_Language.add_new_phrase'), $this);?>
" onclick="window.location.href='<?php echo smarty_function_url(array('link' => 'admin.language.add-phrase','id' => $this->_tpl_vars['iId']), $this);?>
';" />
		&nbsp;&nbsp;<input type="submit" name="delete" value="<?php echo smarty_function_language(array('text' => 'Mod_Language.delete_selected'), $this);?>
" />		
		&nbsp;&nbsp;<input type="submit" name="revert-selected" value="<?php echo smarty_function_language(array('text' => 'Mod_Language.revert_selected_to_default'), $this);?>
" />
	</td>
</tr>
<tr>
	<td class="row1" colspan="5">
	<table style="width:100%;" cellpadding="0" cellspacing="0">
	<tr>
		<td><?php echo smarty_function_language(array('text' => 'global_pager','count1' => $this->_tpl_vars['iFrom'],'count2' => $this->_tpl_vars['iTo'],'count3' => $this->_tpl_vars['iCnt']), $this);?>
</td>
    	<td style="text-align:right;"><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "_blocks/pager.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?></td>
    </tr>
    </table>
    </td>
</tr>
<?php endif; ?>
</table>
</form>